package com.dinner.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author dinner
 * @since 2022-02-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DiSeat对象", description="")
public class DiSeat implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "座位id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "座位状态 0 未预定  1已预定 2正在用餐")
    private Integer seStatus;

    @ApiModelProperty(value = "预订人id")
    private Integer ydId;


    @ApiModelProperty(value = "座位添加时间")
    private Date creatTime;

    @ApiModelProperty(value = "座位状态修改时间")
    private Date updTime;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @TableField(exist = false)
    private  DiUser diUser;

    @TableField(exist = false)
    private  DiOrder diOrder;


}
